<template>
  <div id="app">
    <!-- <img alt="Vue logo" src="./assets/logo.png"> -->
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
    <router-view></router-view>
  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'
// import { mapGetters } from "vuex";
export default {
  name: "App",
  //  name: 'App',
  computed: {
    // ...mapGetters('user',['isLogin'])
  },
  created() {
    // 判断用户是否登录
    if (this.isLogin) {
      this.$store.commit("addAuthRouter");
    }
  },
};
</script>

<style lang="scss">
#app {
  /* font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50; */
  /* margin-top: 60px; */
}
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  
}
</style>
